--- d4x-2.5.7.1/main/httpd.cc	2006-04-05 21:01:41.000000000 +0200
+++ d4x-2.5.7.1.src/main/httpd.cc	2006-04-27 20:55:24.000000000 +0200
@@ -581,7 +581,8 @@
 
 SocketPtr tHttpDownload::export_ctrl_socket(){
 	if (HTTP) return(HTTP->export_ctrl_socket());
-	return(SocketPtr());
+	SocketPtr dummy = SocketPtr();
+	return(dummy);
 };
 
 tHttpDownload::~tHttpDownload() {
